package test.alan.hyperblobs;

import android.app.Activity;
import android.content.ComponentName;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

/**
 *
 * @author Michael Zhang
 */
public class MainActivity extends Activity {

    /**
     * Called when the activity is first created.
     *
     * @param savedInstanceState
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }

    /**
     * Called when the start button is pressed.
     *
     * @param view The button
     */
    public void startPressed(View view) {
        //Log.e("HyperBlobs", (((ActivityManager) getSystemService(ACTIVITY_SERVICE)).getDeviceConfigurationInfo().reqGlEsVersion) + "");
        Intent intent = new Intent();
        intent.setComponent(new ComponentName(getApplicationContext(), LevelActivity.class));
        startActivity(intent);
    }
}
